package com.ktjy.t382.cheliangtousu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("vehiclecomplaints")
@Data
public class Vehiclecomplaints implements Serializable {
    //设置主键规则,自动递增
    @TableId(type = IdType.AUTO)
    //如果属性和数据库的字段名一致可以省略
    @TableField("id")
    private Long id; //主键 ID

    @TableField("problem")
    private String problem;

    @TableField("brandId")
    private int brandId;

    @TableField("status")
    private int status;

    @TableField("carType")
    private String carType;

    @TableField("complaintsTime")
    private Date complaintsTime;

    @TableField("brandName")
    private String brandName;
}
